home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
jaz_clib.arc
/
JZKEYSTS.C
< prev
next >
Wrap
Text File
|
1989-04-09
|
670b
|
21 lines
#include <jaz.h>
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzkeysts.c │
│Return the union KEYSTATE as defined in jaz.h │
│This defines the various shift states of the machine. │
│Warning, this routine is very highly IBM specific. Contact me for porting │
│to other machines. │
│-Jaz │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*/
jzkeysts(fkey)
KEYSTATE *fkey;
{
unsigned int wkey;
wkey = MEMW(0x40,0x17);
memcpy(fkey,&wkey,2);
}